import request from '@/utils/request'

export const getMusicUrl = (data) => {
  return request({
    url: '/song/url/v1',
    data
  })
}

// 获取推荐的新音乐
export const getNewMusicApi = (data) => {
  return request ({
    url: '/personalized/newsong',
    data
  })
}

// 获取每日推荐音乐
export const getRecommendMusicApi = (data) => {
  return request ({
    url: '/recommend/resource',
    data
  })
}